package com.kc.data.common.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kc.data.common.domain.goodsSku.BizGoodsSkuSpecsInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface BizGoodsSkuSpecsInfoMapper extends BaseMapper<BizGoodsSkuSpecsInfo> {
    /**
     * 状态标记为删除
      * @param goodsId
     * @return
     */
    @Update("update kc_goods_sku set status = 0 where goods_id = #{goodsId}")
    Integer deleteByGoodsId(@Param("goodsId") Integer goodsId);
}
